home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / CLIPST.ARJ / COMPILER.H < prev    next >
C/C++ Source or Header  |  1992-01-31  |  834b  |  45 lines

  1. // compiler.h
  2.  
  3. #if !defined(COMPILER_H)
  4. #define COMPILER_H
  5.  
  6. #if defined(_MSC_VER)
  7.  
  8. #include<direct.h>
  9. #define ALL_FILES    (_A_RDONLY | _A_HIDDEN | _A_SYSTEM | _A_ARCH)
  10. #define FA_DIREC    _A_SUBDIR
  11. #define findfirst(buf,stru,attr)    _dos_findfirst(buf,attr,stru)
  12. #define findnext(stru)              _dos_findnext(stru)
  13. #define ffblk       find_t
  14. #define ff_attrib   attrib
  15. #define ff_name     name
  16. #define ff_fdate    wr_date
  17. #define ff_ftime    wr_time
  18. #define ff_fsize    size
  19.  
  20. #endif
  21.  
  22.  
  23. #if defined(__TURBOC__) || defined(__BORLANDC__)
  24.  
  25. #include<dir.h>
  26. #include<ctype.h>
  27. #define ALL_FILES    (FA_RDONLY | FA_HIDDEN | FA_SYSTEM | FA_ARCH)
  28.  
  29. #endif
  30.  
  31. #if !defined(ERROR)
  32. #define ERROR -1
  33. #endif
  34.  
  35. #if !defined(TRUE)
  36. #define TRUE 1
  37. #endif
  38.  
  39. #if !defined(FALSE)
  40. #define FALSE 0
  41. #endif
  42.  
  43. #endif
  44.  
  45.